//
//  WDOnGoingListRequest.m
//  wd-serviceapp
//
//  Created by Bin Tang on 2025/3/4.
//

#import "WDOnGoingListRequest.h"

@interface WDOnGoingListRequest ()
@property (nonatomic, strong) WDOnGoingListReqModel *model;
@end

@implementation WDOnGoingListRequest

- (instancetype)initWithModel:(WDOnGoingListReqModel *)model {
    if (self = [super init]) {
        self.model = model;
    }
    return self;
}

- (NSString *)requestUrl {
    return kTASK_ON_GOING_LIST;
}

- (TYZRequestMethod)requestMethod {
    return TYZRequestMethodGET;
}

- (id)requestArgument {
    NSDictionary *params = [self.model yy_modelToJSONObject];
    return params;
}

- (Class)rspClass {
    return [WDOnGoingListModel class];
}

@end
